package com.jiangtour.enums;


import lombok.Getter;

@Getter
public enum ResultEnum {
    SUCCESS(0, "成功"),

    PARAM_ERROR(1,"参数不正确"),

    PRODUCT_NOT_EXIST(10,"商品不存在"),

    SITE_NOT_EXIST(11,"站点不存在"),

    SITE_STATUS_ERROR(12,"站点状态错误"),

    SITE_NOT_FIND(13,"根据经纬度查询不到站点"),

    ADDRESSEE_NOT_EXIST(14,"收件人不能为空"),

    ORDER_NOT_EXIST(15,"订单不存在"),

    LOGOUT_SUCCESS(16,"登出成功"),

    PASSWORD_ERROR(17,"密码错误"),

    SITE_STATUS_UNABLE(18,"站点被禁用"),

    SITE_ALREADY_EXISTED(19,"账号已经存在"),
    ;


    private  Integer code;

    private  String message;

    ResultEnum(Integer code, String message) {
        this.code=code;
        this.message=message;
    }
}
